.warp {
  height: calc(100vh - 220px) !important;
  padding: 15px 0;
  box-sizing: border-box;
  background: #fff;
  overflow: hidden;
  overflow-y: auto;
  .rule-box {
    padding: 20px;
    height: 150px;
    background: #f2f2f6;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    .rule,
    .status {
      margin-top: 15px;
      display: flex;
      align-items: center;
      height: 40px;
      box-sizing: border-box;
      .label {
        width: 120px;
        height: 40px;
        line-height: 40px;
        text-align: right;
        margin-right: 20px;
      }
    }

    .rule {
      .input-item {
        height: 40px;
        display: flex;
        align-items: center;
        margin-right: 25px;
      }
    }
  }

  .deduction-box {
    margin-top: 20px;
    background: #f2f2f6;
    padding: 20px;
    .form-box {
      margin-top: 15px;
    }
  }

  .use-box {
    margin-top: 20px;
    height: 150px;
    background: #f2f2f6;
    padding: 20px;
    .reset-rule {
      margin-top: 15px;
      .year-rule {
        height: 32px;
        display: flex;
        align-items: center;
        .inputs {
          display: flex;
        }
      }
    }
  }

  .btn-box {
    margin-top: 20px;
    text-align: center;
  }
}

.dialog-box {
  height:100%;
}
